@echo off

echo 'Building window codes...'
pyuic5.exe .\design\mainWindow.ui -o .\design\mainWindow.py --import-from=resources
pyuic5.exe .\design\loginWindow.ui -o .\design\loginWindow.py --import-from=resources
pyuic5.exe .\design\captchaDlg.ui -o .\design\captchaDlg.py --import-from=resources
pyuic5.exe .\design\personalInfoDlg.ui -o .\design\personalInfoDlg.py --import-from=resources
pyuic5.exe .\design\signDlg.ui -o .\design\signDlg.py --import-from=resources
pyuic5.exe .\design\folderNameEditDlg.ui -o .\design\folderNameEditDlg.py --import-from=resources
pyuic5.exe .\design\shareDlg.ui -o .\design\shareDlg.py --import-from=resources
pyuic5.exe .\design\settingDlg.ui -o .\design\settingDlg.py --import-from=resources
pyuic5.exe .\design\uploadDlg.ui -o .\design\uploadDlg.py --import-from=resources
echo 'Window codes done!'

echo 'Building resource codes...'
pyrcc5.exe .\resources\main.qrc -o .\resources\main_rc.py
echo 'Resource codes done!'

